Basic implementation of login proxy