in app/auth/BearerTokenAuth.scala [102:110]
def extractAuthorization(fromString:String):Either[LoginResult,LoginResultOK[String]] =
fromString match {
case authXtractor(token)=>
logger.debug("found valid base64 bearer")
Right(LoginResultOK(token))
case _=>
logger.warn("no bearer token found or it failed to validate")
Left(LoginResultInvalid("No token presented, this is probably a frontend bug"))
}