Fix Firefox logout problem

See https://github.com/splendido/accounts-templates-core/issues/5