Fixed so login checks both current credentials and remembered credentials