spring security auto login after register

OpenAI API failed. Please try your prompt again.