Test added for canvas refreshing after user login/logout
Apply() changed to call()