Troubleshooting login failures

When you encounter client login failures, you must analyze the stack trace to determine the reason why the login failed.