Bug fix.
Custom login support.