fix bug in standard user login filter