• Check the default database for login in the login properties.

    Change it to master or tempdb.