Fixed bug where cacheword would notify activities after password expiration even if they weren't on foreground thus forcing them to popup and disturb the user. refs #1897