docs: def hidden_basic_auth(user="user", passwd="passwd"):
      """Prompts the user for authorization using HTTP Basic Auth.
      ---
      tags:
        - Auth
      parameters:
        - in: path
          name: user
          type: string
        - in: path
          name: passwd
          type: string
      produces:
        - application/json
      responses:
        200:
          description: Sucessful authentication.
        404:
          description: Unsuccessful authentication.
      """
  
      if not check_basic_auth(user, passwd):
          return status_code(404)
      return jsonify(authenticated=True, user=user)