I'm not sure if I understand. Logging with the key is definitelly more safe than the password. If you do not want to allow logins with password, you need to disable this on the server.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.