After upgrading from 1.2.4.5 the login and logout process

After upgrading from 1.2.4.5 the login and logout process for my test install does not work correctly. Logout tries to transfer to the student logout which is not found. And login won't bring up the WP dashboard. or the wpmudev dashboard. All this was working fine in 1.2.4.5.

This is the problem with deviating from standard WP procedures when designing a plugin. After problems start to appear, fixing one problem usually results in creating some other problem that was not there before.