Update login.php

Add the 'trim' instruction.