Logged In: YES
user_id=1131018
Originator: NO

This is not a bug. When specifying localhost the connection is routed via a socket, but when via 127.0.0.1 it goes to a port. This behavior also occurs when using mysql on the command line.

This bug report should be considered closed.